Loading

fun Loading(_: Nothing = nothing, onDismissRequest: () -> Unit = {}, properties: DialogProperties = DialogProperties(dismissOnBackPress = false, dismissOnClickOutside = false), content: @Composable () -> Unit = { CircularProgressIndicator( modifier = Modifier.testTag("MainLoading"), color = MaterialTheme.colorScheme.onPrimary, ) })

A helper composable function for displaying a loading overlay.

Parameters

onDismissRequest

executes when the user tries to dismiss the dialog.

properties

the properties of the dialog.

content

the content of the dialog.